﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Web.Login" %>

<!doctype html>
<html lang="en">
<head>
    <title>登录页面.OA系统--莞香投资</title>
    <link href="yaml/core/base.min.css" rel="stylesheet" />
    <link href="yaml/forms/gray-theme.css" rel="stylesheet" />
    <!--[if lte IE 7]>
  <link rel="stylesheet" href="yaml/core/iehacks.min.css" type="text/css"/>
  <![endif]-->
    <!--[if lt IE 9]>
  <script src="yaml/lib/html5shiv/html5shiv.js"></script>
  <![endif]-->
	<style type="text/css">
	html,body{background-color: #4b9cd7}
	.wrapper {margin: 140px auto;width: 884px;}
	.divImg{width: 465px;margin:14px auto;}
	.loginBox {
		background-color: #FEFEFE;
		border: 1px solid #00adef;
		border-radius: 5px;
		color: #444;
		font: 14px 'Microsoft YaHei','微软雅黑';
		margin: 0 auto;
	    width: 388px;
	}
	.loginBox .loginBoxCenter {
		margin: 24px;
	}
	.loginBox .loginBoxCenter p {
		margin-bottom: 10px
	}
	.loginBox .loginBoxButtons {
		background-color: #157fcc;
		border-top: 1px solid #FFF;
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
		line-height: 28px;
		overflow: hidden;
		padding: 20px 24px;
		vertical-align: center;
        text-align:right;
	}
	.loginBox label{
		font: 18px Arial;
	}
	.loginBox .loginInput {
		border: 1px solid #b5b5b5;
		border-radius: 2px;
		color: #444;
		font: 18px 'Microsoft YaHei','微软雅黑';
		padding:4px 14px;
		margin-bottom: 8px;
		width:240px;vertical-align: middle;margin-left: 14px;
	}
	.loginBox .loginInput:hover {
		border: 1px solid #00adef;
		box-shadow: 0 0 8px #B7D4EA;
	}
	</style>
</head>
<body>
	<div class="wrapper">
    <form runat="server">
    <div class="divImg"><img src="Images/logo.gif" /></div>
		<div class="loginBox">
			<div class="loginBoxCenter">
				<p><label for="txtUserId">帐号:</label><input type="text" id="txtUserId" name="txtUserId" class="loginInput" runat="server"/></p>
				<p><label for="txtPassword">密码:</label><input type="password" id="txtPassword" name="txtPassword" class="loginInput" runat="server"/></p>
			</div>
			<div class="loginBoxButtons">
                <asp:Button runat="server" ID="btnLogin" Text="登&nbsp;&nbsp;录" class="ym-button ym-primary" onclick="btnLogin_Click"/>
                <input type="reset" class="ym-button" value="重&nbsp;&nbsp;置" id="reset"/>
			</div>
		</div>
    </form>
	</div>
</body>
<script>
    document.getElementById("txtUserId").focus();
</script>
</html>